package com.wxmp.wxcms.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.wxmp.wxcms.domain.MiniAppImages;
import com.wxmp.wxcms.mapper.MiniAppImagesDao;
import com.wxmp.wxcms.service.MiniAppImagesService;


@Service
@Transactional
public class MiniAppImagesServiceImpl implements MiniAppImagesService{
	
	@Resource
    private MiniAppImagesDao imagesDao;
	
	public List<MiniAppImages> getCorpListByPage(MiniAppImages entity){
		return null;
	}
	
	/**
	 * 创建资源
	 * @param img
	 * @return
	 */
	public int add(MiniAppImages entity) {
		return imagesDao.add(entity);
	}
	
	/**
	 * 删除中间表记录
	 * @param id
	 * @return
	 */
	public void deleteById(String id) {
		
	}

}
